﻿@{ Layout = null;}

@model OrganizationsEntity
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">组织架构</h4>
</div>
<div class="modal-body">
    <div class="ibox float-e-margins">
        <form id="dynamic-form" asp-action="Edit" method="post" class="form-horizontal" role="form">
            <div asp-validation-summary="@ValidationSummary.All" class="text-danger"></div>
            <input type="hidden" asp-for="OrgId" />
            <div class="form-group">
                <label asp-for="OrgName" class="col-md-3 control-label text-right"> 名称</label>
                <div class="col-md-9  text-left">
                    <div class="input-group m-b">
                        <span class="input-group-addon">*</span>
                        <input asp-for="OrgName" class="form-control" validate="{required:true  ,maxlength:50   }" />
                    </div>
                    <span asp-validation-for="OrgName" class="text-danger"></span>
                </div>

            </div>
            <div class="form-group">
                <label asp-for="OrderNum" class="col-md-3 control-label text-right"> 排序</label>
                <div class="col-md-9  text-left">
                    <div class="input-group m-b">
                        <span class="input-group-addon">*</span>
                        <input asp-for="OrderNum" class="form-control" validate="{required:true  ,IsInt:true    }" />
                    </div>
                    <span asp-validation-for="OrderNum" class="text-danger"></span>
                </div>

            </div>
            <div class="form-group">
                <label asp-for="Comments" class="col-md-3 control-label text-right"> 描述</label>
                <div class="col-md-9 text-left">
                    <textarea asp-for="Comments" tabindex="3" class="form-control" ltype="textarea" rows="5" style="width:100%;"></textarea>
                </div>

            </div>
            <div class="form-group">
                <label class="col-md-3 control-label text-right"></label>
                <div class="col-md-9 text-left">
                    <div class="i-checks ">
                        <label asp-for="IsSystem"> <input tabindex="4" asp-for="IsSystem" type="checkbox">  系统 </label>
                    </div>
                </div>

            </div>
            <div class="form-group">
                <label asp-for="EventHandler" class="col-md-3 control-label text-right"> 接口</label>
                <div class="col-md-9  text-left">
                    <div class="input-group m-b">
                        <span class="input-group-addon"></span>
                        <input asp-for="EventHandler" class="form-control" validate="{required:false  ,maxlength:100   }" />
                    </div>
                    <span asp-validation-for="EventHandler" class="text-danger"></span>
                </div>

            </div>
        </form>
    </div>
</div>
<div class="modal-footer">

</div>
